﻿
$(function () {

    //大图切换
    jQuery("#ifocus_pic").slide({
        titCell: "#ifocus_btn li", mainCell: "#ifocus_piclist ul", effect: "top", autoPlay: true, delayTime: 200
    });


    jQuery("#ifocus_btn").slide({ titCell: ".forTwo  ul li", mainCell: ".two ul", autoPage: true, effect: "top", autoPlay: true, vis: 4, scroll: 1, prevCell: ".sPrev", nextCell: ".sNext" });


    jQuery("#videoMultiSilderWrap").slide({ titCell: ".video_one_hd ul li", mainCell: ".video_one_bd", autoPage: false, effect: "fade", autoPlay: false });

    // $('.slideToggle').click(function () {
    //     $(".video_one_bd").slideToggle("slow");
    // });
    
    $(".slideToggle").click(function(){
        
        var curH=$(this).parent().height();
        if(curH>50)
        {
            $(this).parent().animate({'height':'40px'});
            
            $(this).removeClass('up');
           
        }else 
        {
            var height=$('.video_one_hd ul').height();
            $(this).parent().animate({'height':height+'px'});
             $(this).addClass('up');
        }
        
    });
    
    //slideToggle



});